<template>
    <div>登录</div>

    <a-button type="primary" @click="builds">路由</a-button>

    <div>
        <a-anchor-link href="/backend/#/oa/enterprise/enterprise-detail" title="Anchor Props" />
    </div>

</template>
<script setup lang="ts">
import { reactive,ref,onMounted,onUnmounted } from "vue";
import { useRouter } from 'vue-router';
import { buildRoutes } from '@/router/index';
const router = useRouter();
function builds(){
    buildRoutes()
    router.push('/home');
}
</script>